package com.cn.xiaonuo.slbfinances.slbproxys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface CmProxyInfoMapper extends BaseMapper<String> {

    /**
     * 成功支付订单详情
     * @param serialNumber
     * @return
     */
    List<Map<String, Object>> successOrderInfoOne(@Param("serialNumber") String serialNumber);

    /**
     * 成功支付订单列表
     * @return
     */
    public List<Map<String, Object>> successOrderInfo(@Param("beginTime") String beginTime,@Param("endTime") String endTime);

    /**
     * 匹配查询商家入账明细
     * @return
     */
    public List<Map<String, Object>> receiptsDetail(@Param("beginTimes") String beginTimes,@Param("endTimes") String endTimes, @Param("name") String name,@Param("phone") String phone,@Param("recordWay") String  recordWay);

    /**
     * 查询商家入驻信息
     *
     * @return
     */
    public List<Map<String, Object>> merchantsInfo(@Param("createTime")String createTime,@Param("endTime")String endTime, @Param("status") String status, @Param("name") String name, @Param("realName") String realName, @Param("phone") String phone);
}
